<script type="text/javascript" src="/views/js/center.js"></script>
<script type="text/javascript" src="/views/js/teacher.js"></script>
<div class="nav-tabs-custom">
    <!-- Tabs within a box -->
    <ul class="nav nav-tabs">
        <li class="active"><a href="#tab-1" data-toggle="tab">老师</a></li>
        <li><a href="#tab-2" data-toggle="tab">学生</a></li>
    </ul>
    <div class="tab-content">
        <div class="chart tab-pane active" id="tab-1">
            <div class="box box-solid box-primary">
                <div class="box-body">
                    <div class="row">
                        <div class="col-md-12" style="padding-bottom: 15px;padding-top: 15px;">
                            <form class="form-inline" style="float:right ;">
                                <div class="form-group">
                                    <label class="" for="J_FilterCenter">中心名字</label>
                                    <select class="form-control "
                                            id="center-id-teacher">
                                        <option name="selectCenter" value="0">全部中心</option>
                                        {{range .Center}}
                                        <option name="selectCenter" value="{{.CenterId}}">{{.CenterId}}{{.CenterName}}
                                        </option>
                                        {{end}}
                                    </select>
                                </div>
                                <div class="form-group">
                                    <label class="" for="J_FilterCenter">老师名字：</label>
                                    <input type="text" class="form-control" id="teacher-name">
                                </div>
                                <button type="submit" class="btn btn-primary" id="btn-search-teacher"><i
                                        class="fa fa-search"></i> 查询
                                </button>
                            </form>
                        </div>
                    </div>
                </div>
            </div><!-- /panel-body-->
            <!-- 结果表格 -->
            <div class="box box-solid box-primary" style="border:solid 1px #337ab7">
                <!-- /.box-header -->
                <div class="box-body no-padding">
                    <table class="table table-hover text-center" id="tbl-teacher" style="text-align:left;">
                        <thead>
                        <tr>
                            <th>中心名字</th>
                            <th>教师姓名</th>
                            <th>操作</th>
                        </tr>
                        </thead>
                    </table>
                </div>
                <!-- /.box-body -->
            </div>
            <!-- /结果表格 -->
        </div>


        <!-- 学生 -->
        <div class="chart tab-pane" id="tab-2">
            <div class="box box-solid box-primary">
                <div class="box-body">
                    <div class="row">
                        <div class="col-md-12" style="padding-bottom: 15px;padding-top: 15px;">
                            <form class="form-inline" style="float:right;">
                                <div class="form-group">
                                    <label class="" for="J_FilterCenter">中心名字</label>

                                    <select class="form-control " onchange="selectCenter(this.value)" id="center-id">
                                        <option name="selectCenter" value="0">全部中心</option>
                                        {{range .Center}}
                                        <option name="selectCenter" value="{{.CenterId}}">{{.CenterId}}{{.CenterName}}
                                        </option>
                                        {{end}}
                                    </select>
                                </div>
                            </form>
                        </div>
                    </div>
                </div>
            </div><!-- /panel-body-->
            <!-- 结果表格 -->
            <div class="box box-solid box-primary" style="border:solid 1px #337ab7">
                <!-- /.box-header -->
                <div class="box-body no-padding">
                    <table class="table table-hover text-center" id="tbl-center" style="text-align:left;">
                        <thead style="white-space: nowrap !important;table-layout:fixed">
                        <tr>
                            <th style="width: 714px;">中心名字</th>
                            <th>操作</th>
                        </tr>
                        </thead>
                    </table>
                </div>
                <!-- /.box-body -->
            </div>
            <!-- /结果表格 -->
        </div>
        <!-- /学生 -->
    </div>
</div>